
window.yky = {};

yky.transitionEnd = function (dom,callback) {
    if(!dom || typeof dom != 'object') return false;

    dom.addEventListener('transitionEnd', function () {
        callback && callback();
    });

    dom.addEventListener('webkitTransitionEnd', function () {
        callback && callback();
    });

}





